@font-face {
  font-family: 'NotoSans';
  src: url('../fonts/noto-sans/NotoSans-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "NotoSans", sans-serif;
}


body {
    background: #fff;
    overflow-x: hidden;
}

body, html {
    overflow-x: hidden;
}

html{
    scroll-behavior: smooth;
}


header .logo {
    position: relative;
    width: 140px;
    height: 40px;
}

header .logo img:first-child {
    position: absolute;
    top: 0;
    left: 0;
    width: 140px;
    transition: opacity 0.3s;
    opacity: 1; 
}

header .logo .logo-blue {
    top: 0;
    left: 0;
    width: 140px;
    transition: opacity 0.3s;
    opacity: 0; 
}

header.scrolled .logo img:first-child {
    opacity: 0; 
}

header.scrolled .logo .logo-blue {
    opacity: 1; 
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    z-index: 1000;
    transition: 0.3s;
    background: transparent;
    border-bottom: 0px solid transparent;
}

header.scrolled {
    background: #ffffff;
    border-bottom: 4px solid #033d83; 
}

header .container {
    width: 90%;
    margin: auto;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 25px;
}

nav ul li a {
    text-decoration: none;
    font-size: 14px;
    color: #fff;
    transition: 0.3s;
}

header.scrolled nav ul li a {
    color: #000;
}

.triangle-btn-wrapper {
  width: 30px;
  height: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  cursor: pointer;
}

.triangle-btn-wrapper div {
  width: 100%;
  height: 4px;
  background-color: white; 
  transition: 0.3s;
}


header.scrolled .triangle-btn-wrapper div {
  background-color: #033d83;
}

.hero {
    height: 95vh; 
    padding-top: 140px; 
    padding-bottom: 40px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: #fff;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: #25356b;
}

.hero-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5); 
}


.hero-content {
    position: relative;
    z-index: 2;
}


.hero-content h1 {
    font-size: 38px;
    font-weight: 700;
    margin-bottom: 15px;
}

.hero-text {
    font-size: 17px;
    line-height: 1.6;
    margin-bottom: 50px;
    opacity: 0.9;
}

.cards-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 35px;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    position: relative;
    z-index: 3;
}

.hero-card {
    width: 300px;
    height: 350px;
    background: #ffffff;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 25px;
    left: 0;
    background: #ffffff;
    padding: 10px 0;
    border-radius: 6px;
    display: none;
    min-width: 170px;
    top: calc(120% - 5px);
}

.dropdown-menu li a {
    color: #000 !important;
    display: block;
    padding: 8px 15px;
    text-decoration: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.tayara-section {
    width: 80%;
    margin: 100px auto;
    display: flex;
    gap: 40px;
    padding: 60px 100px;
}

/* ---------------- LEFT PART ---------------- */
.tayara-left {
    position: relative;
    width: 40%;
    background: #25356b;
    border-radius: 20px;
    height: 320px;
    overflow: hidden;
}

.tayara-left img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* icons column */
.tayara-icons {
    position: absolute;
    right: 0;
    top: 0;
    width: 70px;
    height: 100%;
    background: #e3e5e9;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 35px;
}

.icon-btn {
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

.icon-btn img {
    width: 32px;
    height: 32px;
    display: block;
    transition: 0.3s;
}

.icon-btn.active {
    opacity: 1;
    transform: scale(1.1);
}


.divider {
    width: 40px;
    height: 3px;
    background: #1d2c5b;
}

/* ---------------- RIGHT PART ---------------- */
.tayara-right {
    width: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.tayara-text {
    display: none;
}

.tayara-text.active {
    display: block;
}

.tayara-text h2 {
    color: #00306e;
    margin-bottom: 15px;
}

.tayara-text p {
    font-size: 15px;
    line-height: 1.6;
    text-align: justify;
    color: black;
}

.fade-slide {
    opacity: 0;
    transform: translateX(-35px);
    animation: fadeSlide 0.9s forwards ease;
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateX(-35px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.tayara-main-image {
    transition: opacity 0.3s ease;
}

.quote-section {
    width: 80%;
  padding: 60px 100px;
  margin: 100px auto;
  gap: 40px;
}

.container {
  margin: auto;
  display: flex;
  align-items: flex-start;
  gap: 40px;
}

.image-box {
  width: 320px;
  text-align: center;
}

.image-box img {
  width: 80%;
  height: auto;
  display: block;
}

.name {
  margin-top: 10px;
  font-weight: bold;
  color: #0a3c8c;
  font-size: 20px;
  margin-right: 50px;
}

.text-box {
  flex: 1;
  position: relative;
}

.text-box p {
  font-size: 16px;
  line-height: 1.7;
  color: #0d1b3d;
  margin-bottom: 20px;
  text-align: justify;
}

.quote {
  font-size: 50px;
  font-weight: bold;
  position: absolute;
}

.quote.start {
  top: -20px;
  left: -40px;
  color: #0a3c8c;
}

.quote.end {
  bottom: -20px;
  right: 0;
  color: #0a3c8c;
}

.exhibition {
    width: 100%;
}

.exhibition-container {
    max-width: 1200px;  
    margin: 0 auto;     
    padding: 60px 20px;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
}

.text-content {
    flex: 1;
    margin-left: 120px;
}

.text-content h2 {
    color: #123a7b;
    margin-bottom: 25px;
    line-height: 1.4;
}

.info-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 16px;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}

.info-list li:hover {
    background: #f3f3f3;
}

.arrow {
    color: orange;
    font-size: 20px;
    transition: transform 0.3s;
}

.info-list li:hover .arrow {
    transform: rotate(-90deg);
}

.text {
    font-size: 17px;
    transition: opacity 0.3s, transform 0.3s;
}

.text.hover {
    position: absolute;
    left: 50px;
    opacity: 0;
    transform: translateY(10px);
}

.info-list li:hover .text.main {
    opacity: 0;
}

.info-list li:hover .text.hover {
    opacity: 1;
    transform: translateY(0);
}

.slider-container {
    width: 330px;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 70px;
}

.slider {
    width: 100%;
    height: 260px;
    border-radius: 12px;
    display: flex;
    transition: transform 0.4s ease;
}

.slider img {
    width: 100%;
    position: relative;
    flex-shrink: 0;
    border-radius: 12px;
}


.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 8px;
    gap: 12px;
}

.slider-controls button {
    background: transparent;
    border: none;
    font-size: 22px;
    cursor: pointer;
}

.dots {
    display: flex;
    gap: 6px;
}

.dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: #ccc;
}

.dot.active {
    background: black;
}

.stats-section {
    background: url('../images/image-gen\ \(22\).png') center/cover no-repeat;
    position: relative;
    margin-top: 40px;
}

.stats-overlay {
    background: rgba(4, 7, 25, 0.9);
    width: 100%;
    height: 100%;
    color: white;
    text-align: center;
    padding-top: 40px;
    position: relative;
    
}

.stats-title {
    font-size: 50px;
}

.bold {
    font-weight: 700;
}

.stats-box {
    display: flex;
    justify-content: center;
    margin-top: 25px;
    gap: 120px;
}

.stat {
    text-align: center;
}

.stat p{
    color: white;
}

.number-group {
    display: flex;
    align-items: center;
    justify-content: center;
}

.number {
    font-size: 60px;
    font-weight: 700;
    color: #2d59a5;
}

.plus {
    font-size: 60px;
    font-weight: 700;
    color: #2d59a5;
    margin-left: 4px;
}


.intro-section {
    padding: 60px 100px;
    margin-top: 40px;
}

.intro-container {
    width: 80%;
    margin: auto;
    display: flex;
    gap: 40px;
}

.intro-text h3{
    color: #033d83;
}

.intro-text p {
    line-height: 1.4;
    margin-bottom: 25px;
    text-align: justify;
    align-items: flex-start;
    display: flex;
    gap: 15px;
    color: black;
}

.intro-text p span{
    min-width:15px;
    height:15px;
    display:inline-block;
    border-right:5px solid #ef7e04;
    border-bottom:5px solid #ef7e04;
    transform: rotate(-135deg);
    margin-top:8px;
}

.intro-image-box {
    padding: 1px;
    width: 20%;
    height: 20%;
    margin-left: 110px;
}

.intro-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-top: 30px;
}

.contact-box {
    background: white;
    padding: 30px;
    margin: 150px auto;
    width: 80%;
    border: 8px solid #0a2955;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-box .text {
    font-size: 22px;
    font-weight: bold;
    color: #333;
}

.contact-btn {
    padding: 12px 26px;
    background: #0a2955;
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 18px;
    cursor: pointer;
}

/* Footer */
.footer {
    background: #0a2955;
    padding: 50px 80px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    align-items: start;
}


.footer-logo {
    display: flex;
    flex-direction: column; 
}

.logo-wrapper {
    display: flex;
    flex-direction: column; 
    gap: 10px; 
    align-items: flex-start; 
}

.social-icons {
    display: flex;
    gap: 10px;
    margin-top: 80px;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px; 
    height: 32px;
    border-radius: 50%;
    border: solid white;
    text-decoration: none;
    transition: transform 0.3s, background 0.3s;
}

.social-icons a img {
    width: 20px;   /* حجم الأيقونة */
    height: 20px;
    display: block;
}

.social-icons a:hover {
    background: #0a2955;
    transform: scale(1.1);
}

.footer-section h3 , p{
    margin-bottom: 10px;
    color: white;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin: 8px 0;
    color: #444;
    padding-left: 20px;
    position: relative;
}

.footer-section ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px; 
    height: 8px;
    background-color: white; 
    border-radius: 50%; 
}

.footer-section ul li a{
    text-decoration: none;
    color: white;
}

.map-box {
    width: 140px;
    height: 120px;
    background: #e0e0e0;
    border: 1px solid #aaa;
    margin-top: 10px;
}

.bottom-bar {
    background: #0a2955;
    color: white;
    padding: 12px;
    text-align: center;
    font-size: 14px;
}

.back-to-top{
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 46px;
    height: 46px;
    background: #fff;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    color: #25356b;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: 0.3s ease;
}

.back-to-top polyline:last-child{
    stroke: #1e1400; 
}

.back-to-top.show{
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover{
    transform: scale(1.05);
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-30%); }
}







@media (min-width: 992px) {
  .triangle-btn-wrapper {
    display: none;
  }
}

@media screen and (max-width: 480px) {

 nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: white;
        padding: 20px 0;
    }

    nav.active {
        display: block;
    }

    nav ul {
        display: flex;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .menu-toggle {
        display: flex;
    }

    nav ul li a {
        color: #000 !important;
    }

    nav ul {
        padding: 0;
    }

    .hero {
        min-height: auto;
        padding-top: 120px;
        padding-bottom: 30px;
    }

    .hero-content {
        width: 100%;
    }

    .hero-content h1 {
        font-size: 22px;
    }

    .hero-text {
        font-size: 10px;
        line-height: 1.5;
    }

    .cards-wrapper {
        flex-direction: column;
        gap: 18px;
        width: 100%;
        margin-top: 20px;
    }

    .hero-card {
        width: 88%;
        height: 180px;
        margin: auto;
    }

    .tayara-section {
        flex-direction: column-reverse;
        margin-top: 60px;
        padding: 30px 20px;
    }

    .tayara-left {
        width: 100%;
        height: 250px;
    }

    .tayara-right {
        width: 100%;
    }

    .tayara-icons {
        width: 55px;
        gap: 25px;
    }

    .icon-btn {
        font-size: 22px;
    }

    .tayara-text p {
        font-size: 14px;
    }

    .quote-section {
        padding: 30px 20px;
    }

    .container {
        flex-direction: column-reverse;
        gap: 25px;
    }
    
    .image-box {
        width: 90%;
        margin-left: 40px;
    }
    
    .text-box p {
        font-size: 16px;
    }
    
    .quote.start {
        left: -25px;
        top: -15px;
        font-size: 50px;
    }
    
    .quote.end {
        font-size: 50px;
        bottom: -20px;
    }

    .exhibition-container {
        flex-direction: column;
        padding: 30px 20px;
        gap: 30px;
        align-items: center;
    }

    .text-content {
        margin-right: 22px;
    }

    .text-content h2 {
        font-size: 20px;
        line-height: 1.3;
        margin-bottom: 20px;
    }

    .info-list li {
        align-items: flex-start;
        gap: 6px;
        padding: 10px;
        overflow: visible;
        min-height: auto;
    }

    .info-list li .arrow {
        font-size: 18px;
    }

    .info-list li:hover .text.main {
        display: none;
    }

    .info-list li:hover .text.hover {
        display: block;
        opacity: 1;
    }

    .text {
        font-size: 15px;
    }

    .text.hover {
        position: static;
        opacity: 0;
        transform: none;
        display: none;
        margin-top: 4px;
    }

    .slider-container {
        width: 100%; 
        max-width: 330px;
        margin-left: 70px;
    }

    .slider {
        height: 200px; 
    }

    .slider img {
        height: 100%;
        object-fit: cover;
    }

    .slider-controls {
        gap: 8px;
    }

    .dots .dot {
        width: 7px;
        height: 7px;
    }

    .text-box p{
        gap: 10px;
    }

    .stats-box {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 15px;
        width: 100%;
        margin-top: 15px;
    }

    .stats-box .stat:nth-child(1) {
        grid-column: 2 / 4;
        text-align: center;
    }

    .stats-box .stat:nth-child(2) {
        grid-column: 4 / 6;
        text-align: center;
    }

    .stats-box .stat:nth-child(3) {
        grid-column: 1 / 3;
    }

    .stats-box .stat:nth-child(4) {
        grid-column: 3 / 5;
    }

    .stats-box .stat:nth-child(5) {
        grid-column: 5 / 7;
    }

    .stat {
        padding: 10px 0;
        text-align: center;
    }

    .stat p {
        font-size: 12px;
    }

    .number,
    .plus {
        font-size: 30px;
    }

    .stats-title {
        font-size: 24px;
        margin-bottom: 15px;
        text-align: center;
    }

    .intro-section {
        padding: 20px 30px;
    }

    .intro-container {
        flex-direction: column; 
        align-items: center;
        gap: 20px;
        width: 80%;
        margin: auto;
    }

    .intro-text img{
        direction: ltr;
    }

    .intro-image-box {
        width: 100%; 
        height: auto; 
        margin-left: 0; 
    }

    .intro-image-box img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .intro-text {
        margin-left: 0;  
        width: 100%;
    }

    .contact-box {
        flex-direction: column;       
        gap: 15px;
        width: 90%;
        padding: 20px;
        text-align: center;
        margin-top: 230px;
        margin-bottom: 50px;
    }

    .contact-box .text {
        font-size: 18px;              
    }

    .contact-btn {
        padding: 10px 20px;           
        font-size: 16px;
    }
    
    .footer {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: flex-start !important;
        align-items: flex-start !important;
        gap: 16px !important;
        padding: 24px 12px !important;
        grid-template-columns: none !important;
        text-align: left !important;
        box-sizing: border-box !important;
    }
    
    .footer * {
        box-sizing: border-box !important;
        max-width: 100%;
    }
    
    .footer > .logo-wrapper,
    .footer > .footer-logo,
    .footer > :nth-child(1) {
        width: 100% !important;
        flex: 0 0 100% !important;
        text-align: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }
    
    .footer > :nth-child(n+2) {
        flex: 0 0 45% !important;    
        max-width: 48% !important;
        width: 48% !important;
        min-width: 140px !important;
    }
    
    .footer img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .footer-section {
        width: 48% !important;
        max-width: 48% !important;
        flex: 0 0 48% !important;
        padding: 8px 6px !important;
    }
    
    .footer-section h3 {
        font-size: 15px !important;
        margin-bottom: 8px !important;
    }
    
    .footer-section p,
    .footer-section ul li {
        font-size: 13px !important;
    }
    
    .map-box {
        width: 100% !important;
        height: 140px !important;
    }
    
    .social-icons {
        justify-content: center !important;
        margin-top: 12px !important;
    }
    
    .footer > * {
        display: block !important;
    }
}    